﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="zhuce.aspx.cs" Inherits="zhuce" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册新用户</title>
<link rel="stylesheet" type="text/css" href="wuliu.css">
        <style type="text/css">
            #main
            {
                height: 376px;
            }
        </style>
</head>

<body>
<form id="form2" runat="server" >
<div id="container">
	<div id="top">
    	<div id="header"></div>
        <div id="menu">
        	<ul>
            	<li><a href="index.aspx" >首页</a></li>
                <li><a href="#">个人中心</a></li>
               
            </ul>
        </div>
    </div>	
    <div id="content">
      <div id="main" >
	         <table width="810" height="349" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="291" valign="top"><div style="vertical-align:middle; text-align:center;">
                
                <table border="1px"  style="width:59%; text-align:left;border-color:Gray; height: 371px;" 
                    align="center">
                <tr><td>用户名</td><td>
                                              <asp:TextBox ID="TextBoxName" runat="server"></asp:TextBox><b>(*)</b>不得超过20个字符！</td><td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"  ControlToValidate="TextBoxName"
                            ErrorMessage="用户名不允许为空！"></asp:RequiredFieldValidator>
                    </td></tr>
                <tr><td>密码</td><td>
                                              <asp:TextBox ID="TextBoxPassWord" runat="server" TextMode="Password"></asp:TextBox><b>(*)</b> 必须填写！</td><td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"  ControlToValidate="TextBoxPassWord"
                            ErrorMessage="密码不允许为空！"></asp:RequiredFieldValidator>
                    </td></tr>
                <tr><td>确认密码</td><td>
                                                <asp:TextBox ID="TextBoxRePassWord" runat="server" TextMode="Password"></asp:TextBox><b>(*)</b> 与上一致！</td><td>
                        <asp:CompareValidator ID="CompareValidator1" runat="server"  
                                             ControlToValidate="TextBoxRePassWord" ControlToCompare="TextBoxPassWord"
                            ErrorMessage="两次密码输入不一致！"></asp:CompareValidator>
                    </td></tr>
                <tr><td>姓名</td><td>
                                              <asp:TextBox ID="TextBoxRealName" runat="server" ></asp:TextBox><b>(*)</b>
                                              必须填写！</td><td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"  ControlToValidate="TextBoxRealName"
                            ErrorMessage="姓名不允许为空！"></asp:RequiredFieldValidator>
                    </td></tr>
                <tr><td>邮箱</td><td>
                <asp:TextBox ID="TextBoxEmail" runat="server"></asp:TextBox><b>(*)</b>
                                              必须填写！</td><td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"  ControlToValidate="TextBoxEmail" 
                            ErrorMessage="邮箱不可以为空！" Display="Dynamic" >错误格式</asp:RequiredFieldValidator>
                                         <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                             ControlToValidate="TextBoxEmail" ErrorMessage="请输入xxx@xx.xxx 格式" 
                                             ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">格式不正确</asp:RegularExpressionValidator>
                    </td></tr>
                <tr><td>联系电话</td><td>
                <asp:TextBox ID="TextBoxPhone" runat="server"></asp:TextBox>
                </td><td></td></tr>
                <tr>
                                                  
                                                  </td></tr>
                    <tr><td></td><td style="text-align:center;">
                       
                            <asp:Button ID="Button1" runat="server" Text="确认" onclick="Button1_Click1" />
                       
                            </td><td></td></tr>
                           <tr><td></td></tr>
                </table>
                </div>&nbsp;</td>
        </tr>
      </table>
	   
      </div>
  </div>
    <div id="footer">
        版权所有 Copyright ©长江大学计算机科学学院 All Rights Reserveda href="#">联系站长</a>|<a href="#">网站地图</a>
    </div>
</div>
</form>
</body>

</html>
